package com.yoga.model;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * @author yan
 * @date 2025/8/17
 */
@Data
@TableName("reservation")
public class Reservation {
    private Integer reservationId;
    private Integer courseId;
    private Integer memberId;
    private Integer status;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime reserveTime;

    private String courseName;
    private String memberName;
}
